{% extends "learning_logs/base.html"%}
{% block content %}
<p>Topic: {{ topic }}</p>

<form action="{% url 'learning_logs:new_topic' %}" method='post'>
    {% csrf_token %}
    {{form.as_div}}
    <button name="submit">Add topic</button>
</form>

{% endblock content %}